export default [
    {
        path: '/product',
        name: 'product-manage',
        meta: {
            title: '产品信息管理',
            icon: 'code-outlined'
        },
        redirect: '/firmware/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/firmware/list',
                name: 'firmware-list',
                meta: {
                    title: '固件版本更新',
                    keepAlive: true,
                    // icon: 'copy-outlined'
                },
                component: () => import('@/views/product/firmware/list.vue'),
            },
            {
                path: '/firmware/edit',
                name: 'firmware-edit',
                meta: {
                    title: '编辑固件版本',
                    keepAlive: true,
                    // icon: 'copy-outlined',
                    toRoute: 'firmware-list'
                },
                hidden: true,
                component: () => import('@/views/product/firmware/edit.vue'),
            },
            {
                path: '/productdatabase/list',
                name: 'productdatabase-list',
                meta: {
                    title: '产品数据库更新',
                    keepAlive: true,
                    // icon: 'copy-outlined'
                },
                component: () => import('@/views/product/productdatabase/list.vue'),
            },
            {
                path: '/productdatabase/edit',
                name: 'productdatabase-edit',
                meta: {
                    title: '编辑产品信息',
                    keepAlive: true,
                    icon: 'copy-outlined',
                    toRoute: 'productdatabase-list'
                },
                hidden: true,
                component: () => import('@/views/product/productdatabase/edit.vue'),
            },


        ],
    },
];
